package com.fire.control.system.statics;

//这个不需要做接口
public enum Key {
	
	redis_key_lora_resources_user_id_("用户资源LIST",60),
	redis_key_lora_resources_web_urls_user_id_("web用户资源str-urls",60),
	redis_key_lora_resources_app_urls_user_id_("app用户资源",60),
	redis_key_lora_token_user_id_("app-token",60),
	redis_key_lora_user_id_("app-用户对象",60),
	session_key_lora_user_id("web-用户对象session",-1),
	authorization("app登入创建token",-1),
	redis_key_lora_fPort_("mqtt-fport",60),
	redis_key_lora_soket_client_id_("soket客户端",60*60*24*30),
	redis_key_lora_devEUI_("设备是否离线-检测保存到redis",-1),
	redis_key_lora_region("区域数据",-1),
	redis_key_lora_region_device("区域设备数据",60*30),
	redis_key_lora_region_gateway("区域网关数据",60*30),
	userId("APP-head用户ID",-1),
	redis_key_lora_phoneNumber("电话号码登入key",60),
	idenCode("web端验证码",180),
	redis_key_lora_lock_("分布式锁,过期时间防止因异常情况无法释放锁而造成死锁情况的发生",5),
	socket_client_id("socketio",0);
	
	private String text;
	private long expire;
	
	private Key(String text,long expire){
		this.text = text;
		this.expire = expire;
	}
	public String getText() {
		return text;
	}
	public long getExpire() {
		return expire;
	}
	
}
